
typedef struct {
  unsigned char head;
  unsigned char tail;
  unsigned char size;
  char* buffer;
} Queue;

void QueueInit(Queue *q, char* buff, unsigned char size);
char QueueGetData(Queue  *q);
void QueueAddData(Queue * q, char c);
unsigned char QueueIsEmpty(Queue *q);
unsigned char QueueSize(Queue * q);
